<template>
  <div class="label-info">
    <div class="label-info__label text-[#868D9D]">{{ label }}：</div>
    <div class="label-info__value text-[#161A23]">
      <slot>
        <span><TextEll :content="emptyText(value)" /></span>
      </slot>
    </div>
  </div>
</template>

<script setup lang="ts">
interface IProps {
  label: string
  value?: string | number
}

defineProps<IProps>()
</script>

<style scoped lang="scss">
.label-info {
  @apply h-[50px] flex flex-col justify-between text-[14px];
  &__value {
    white-space: nowrap;
  }
}
</style>
